From: Jasper St. Pierre Date: Thu, 10 Oct 2013 20:28:42 +0000 (-0400) Subject: notificationDaemon: Raise the app when clicking on a notification, not the MRU window X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3233 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0892065649b43f659afc6bebcaa2ab89c706d80a;p=gnome-shell.git notificationDaemon: Raise the app when clicking on a notification, not the MRU window https://bugzilla.gnome.org/show_bug.cgi?id=709866 --- diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 2370a49a9..928777440 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -777,11 +777,8 @@ const Source = new Lang.Class({ if (this.app == null) return; - let windows = this.app.get_windows(); - if (windows.length > 0) { - let mostRecentWindow = windows[0]; - Main.activateWindow(mostRecentWindow); - } + this.app.activate(); + Main.overview.hide(); }, destroy: function() {